gh-97669: Remove outdated example scripts#97675
gh-97669: Remove outdated example scripts#97675vstinner merged 1 commit intopython:mainfrom vstinner:remove_scripts
Conversation
|
Here is a first PR to remove scripts which look outdated to me. The remaining ones might be useful or are referenced in other parts of Python, so I prefer to write separated PRs for the other scripts that I plan to remove. Since my first version, I restored md5sum.py and parse_html5_entities.py removed by mistake. I alsot restored untabify.py since it's used by patchcheck.py. Note: first I created PR #97674 on the branch name "main" which is not convenient, so I closed it and created this PR instead. |
|
I'm okay with simply finding the scripts on the 3.11 branch. |
gvanrossum
left a comment
There was a problem hiding this comment.
I might preserve these too (in the same repo) but not right now. Go ahead with the removal though.
Once most scripts will be removed and a copy of these scripts will be created, we can document the removal in What's New In Python 3.12 with a link to this copy. |
|
|
gvanrossum
left a comment
There was a problem hiding this comment.
Sure. I expect that we may be removing one or two scripts that are still depended on by some platform or workflow, but that's okay -- we'll just restore those when we get complaints.
|
And yes, these are now also in my https://github.com/gvanrossum/old-demos repo. |
Misc/NEWS.d/next/Tools-Demos/2022-09-30-14-30-12.gh-issue-97669.gvbgcg.rst
Outdated
Show resolved
Hide resolved
Remove outdated example scripts of the Tools/scripts/ directory. A copy can be found in the old-demos project: https://github.com/gvanrossum/old-demos Removed scripts (39): * byext.py * byteyears.py * cleanfuture.py * copytime.py * crlf.py * db2pickle.py * dutree.doc * dutree.py * find-uname.py * find_recursionlimit.py * finddiv.py * findlinksto.py * findnocoding.py * fixcid.py * fixdiv.py * fixheader.py * fixnotice.py * fixps.py * get-remote-certificate.py * google.py * highlight.py * ifdef.py * import_diagnostics.py * lfcr.py * linktree.py * lll.py * mailerdaemon.py * make_ctype.py * mkreal.py * objgraph.py * pdeps.py * pickle2db.py * pindent.py * pysource.py * reindent-rst.py * rgrep.py * suff.py * texi2html.py * which.py Changes: * Remove test_fixcid, test_lll, test_pdeps and test_pindent of test.test_tools. * Remove get-remote-certificate.py changelog entry, since the script was removed. Note: there is a copy of crlf.py in Lib/test/test_lib2to3/data/.
|
I completed to doc to mention the removal in What's New in Python 3.12 with a link to https://github.com/gvanrossum/old-demos |
|
Ok, I removed a first batch of outdated scripts. |
Remove outdated example scripts. Copy them from Python 3.11 if you still need them.
Removed scripts:
Changes: